<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
    <head>
        <%@include file="../common/head.jspf" %>
    </head>

    <body class="sb-l-o sb-r-c" data-menu="#menu_enterprise" data-list="#li_enterprise_list">

        <!-- 主体内容开始 -->
        <div id="main">

            <!--侧边导航栏-->
            <%@include file="../common/sidebar.jspf" %>

            <!-- Start: Content-Wrapper -->
            <section id="content_wrapper">

                <!-- 顶部导航 -->
                <header id="topbar">
                    <div class="topbar-left">
                        <ol class="breadcrumb">
                            <li class="crumb-active">
                                <span>软擎科技</span>
                            </li>
                            <li class="crumb-icon">
                                <a href="dashboard"><span class="glyphicon glyphicon-home"></span></a>
                            </li>
                            <!-- 当前页 -->
                            <li class="crumb-trail">企业列表</li>
                        </ol>
                    </div>
                    <div class="topbar-right">
                        <!-- 登录信息 -->
                        <%@include file="../common/session.jspf" %>
                    </div>
                </header>
                <!-- 顶部导航结束 -->

                <!-- 页面内容开始 -->
                <section id="content">
                    <div class="panel panel-visible" id="spy3">
                        <div class="panel-heading prn">
                            <div class="panel-title pull-left hidden-xs">
                                <span class="glyphicons glyphicons-show_big_thumbnails"></span>企业列表</div>
                            <a class="btn btn-system pull-right" href="enterprise/add" role="button">
                                <span class="glyphicon glyphicon-plus mr5"></span>添加用企业</a>
                        </div>
                        <div class="panel-body pn">
                            <%--
                            <div class="markItUpHeader p14">
                                <div class="row mn">
                                    <span class="label label-system w85 mr10">显示隐藏列</span>
                                    <label class="toggle-label mr10 text-muted dark"><input class="mr5" type="checkbox" data-column="1" checked />用户名</label>
                                    <label class="toggle-label mr10 text-muted dark"><input class="mr5" type="checkbox" data-column="2" checked />姓名</label>
                                    <label class="toggle-label mr10 text-muted dark"><input class="mr5" type="checkbox" data-column="3" checked />手机号</label>
                                    <label class="toggle-label mr10 text-muted dark"><input class="mr5" type="checkbox" data-column="4" checked />身份证</label>
                                    <label class="toggle-label mr10 text-muted dark"><input class="mr5" type="checkbox" data-column="5" checked />状态</label>
                                    <label class="toggle-label mr10 text-muted dark"><input class="mr5" type="checkbox" data-column="6" />注册日期</label>
                                    <label class="toggle-label mr10 text-muted dark"><input class="mr5" type="checkbox" data-column="7" />上次登录</label>
                                    <label class="toggle-label mr10 text-muted dark"><input class="mr5" type="checkbox" data-column="8" checked />操作</label>
                                </div>
                            </div>
                            --%>
                            <table class="table table-striped table-hover table-text-center" id="enterpriseList" cellspacing="0" width="100%">
                                <thead>
                                    <tr>
                                        <th>企业登录名</th>
                                        <th>企业全称</th>
                                        <th>简称</th>
                                        <th>组织结构代码</th>
                                        <th>营业执照编号</th>
                                        <th>税务登记号</th>
                                        <th>开户银行许可证</th>
                                        <th>状态</th>
                                        <th>注册日期</th>
                                        <th></th>
                                    </tr>
                                </thead>
                                <tbody></tbody>
                            </table>
                        </div>
                    </div>
                </section>
                <!-- 页面内容结束 -->

            </section>
        </div>
        <!-- 主体内容结束 -->

        <!--操作菜单模板-->
        <div id="operationHTML" class="hidden">
            <div class="btn-group">
                <button type="button" class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown" aria-expanded="true"><i class="glyphicon glyphicon-wrench mr5"></i>操作
                    <span class="caret ml5"></span>
                </button>
                <ul class="dropdown-menu pull-right" role="menu">
                    <li>
                        <a href="enterprise/index/#id" target="_blank"><span class="glyphicons glyphicons-user mr5"></span>查看详情</a>
                    </li>
                    <li>
                        <a href="enterprise/edit/#id"><span class="glyphicons glyphicons-pencil mr5"></span>编辑企业</a>
                    </li>
                    <li>
                        <a href="loan/add?#loginName" target="_blank"><span class="glyphicons glyphicons-cup mr5"></span>发布标的</a>
                    </li>
                    <li class="divider"></li>
                    <li onclick="changeStatus('#id','#enabled');">
                        <a href="javascript:;"><span class="glyphicons glyphicons-lock text-danger mr5"></span>冻结账号</a>
                    </li>
                    <li>
                        <a href="javascript:;"><span class="glyphicons glyphicons-refresh text-danger mr5"></span>重置密码</a>
                    </li>
                </ul>
            </div>
        </div>

        <!-- 公共函数 -->
        <%@include file="../common/scripts.jspf" %>
        <script src="${rootPath}/js/pages/enterprise/list.js" type="text/javascript"></script>
    </body>
</html>
